package o;

import android.os.Bundle;

public class fhz {
    private String ˊ;
    private fhu ˋ;
    private fin ॱ;

    protected fhu ˊ() {
        return this.ˋ;
    }

    void ˏ(fin o_fin) {
        this.ॱ = o_fin;
    }

    public fin ॱ() {
        return this.ॱ;
    }

    public String ˋ() {
        return this.ˊ;
    }

    protected fhz(String str, fhu o_fhu) {
        this.ˊ = str;
        this.ˋ = o_fhu;
    }

    public <T> T ॱ(Class<T> cls) {
        return ˊ(cls, (Bundle) null);
    }

    public <T> T ˊ(Class<T> cls, Bundle bundle) {
        fhw ˏ = this.ˋ.ˏ(cls);
        if (ˏ == null) {
            return null;
        }
        T ॱ = ॱ(ˏ);
        ॱ(cls, ˏ.ॱ(), null, bundle);
        return ॱ;
    }

    public <T> T ˊ(Class<T> cls, String str, Bundle bundle) {
        fhw ॱ = this.ˋ.ॱ(str, cls);
        if (ॱ == null) {
            return null;
        }
        T ॱ2 = ॱ(ॱ);
        ॱ(cls, ॱ.ॱ(), str, bundle);
        return ॱ2;
    }

    protected <T> T ॱ(fhw o_fhw) {
        return fiq.ˎ(o_fhw);
    }

    public fjb ˎ(String str) {
        fhw ॱ = this.ˋ.ॱ(str);
        if (ॱ == null) {
            return null;
        }
        fjb o_fjb = new fjb(this, ॱ);
        if (!o_fjb.ˏ()) {
            ॱ(ॱ.ˎ(), ॱ.ॱ(), str, null);
        }
        return o_fjb;
    }

    private void ॱ(Class cls, String str, String str2, Bundle bundle) {
        if (this.ॱ != null && !fil.ˏ(bundle)) {
            fir o_fir = new fir(cls);
            o_fir.ˏ(str2);
            o_fir.ॱ(str);
            o_fir.ˊ("__constructor__");
            this.ॱ.ॱ(fim.ˊ().ॱ(this.ˊ).ˎ(o_fir).ˊ());
        }
    }
}
